package com.jz.dynadatasorces.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.jz.dynadatasorces.mapper.OrderMapper;

import com.jz.dynadatasorces.po.Order;

import com.jz.dynadatasorces.po.vo.OrderVo;
import com.jz.dynadatasorces.po.vo.QueryOrderVo;
import com.jz.dynadatasorces.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【lc_user(用户表)】的数据库操作Service实现
 * @createDate 2024-07-29 10:35:31
 */


@DS("oracle")
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {
    @Resource
    private OrderMapper orderMapper;

    @Override
    public List<OrderVo> ListOrder(QueryOrderVo queryOrderVo) {
        List<OrderVo> list = orderMapper.selectOrderList(queryOrderVo);
        return list;
    }

}




